<template>
    <div>
        <a-modal
            title="企业最近一周内有其他事项"
            :visible="visible"
            :confirm-loading="confirmLoading"
            @ok="visible = false"
            @cancel="visible = false"
            :width="600"
        >
            <div style="font-size: 16px;">
                <div v-for="(item,index) in currentList" :key="index" style="margin-top: 5px;">
                    <div style="border: 1px solid #38f;padding: 5px 10px;color: #38f;border-radius: 18px;">{{ item.fywflname }}--{{ item.fsxmc }}</div>
                </div>
            </div>
            <template slot="footer">
                <div style="display: flex;justify-content: flex-end;">
                    <a-button @click="visible = false" >关闭</a-button>
                </div>
            </template>
        </a-modal>
    </div>
</template>
<script>
export default {
    data() {
        return {
            visible: false,
            confirmLoading: false,
            currentList:[],
        };
    },
    methods: {
        getData(list){
            this.currentList = []
            this.currentList = list
        }
    },
};
</script>